<div th:fragment="modal_hechaedit">
<div id="hechaModal" style="" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-keyboard="false">
    <div class="modal-dialog modal-md" style="width:1000px;" id="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel"></h4>
            </div>
            <div class="modal-body" style="overflow: auto;" id="myModalBody">

                <form class="form-horizontal m" id="form-zhuanjiabiandongshenbao-edit" th:object="${zhuanjiabiandongshenbao}">
                    <!--变动申报-->
                    <div class="form-group">
                        <label class="col-sm-3 control-label">核查结果</label>
                        <div class="col-sm-8">
                            <select name="biandongleixing" th:with="type=${@dict.getType('sys_zhuanjiazhuangtai')}" v-model="biandong.biandongleixing" class="form-control" type="text">
                                <option value="6">已去世</option>
                                <option value="99">仍健在</option></select>
                        </div>
                    </div>
                    <!--专家,除了核增都要选择-->
                    <div class="form-group" v-if="biandong.biandongleixing!='9'">
                        <label class="col-sm-3 control-label">专家</label>
                        <div class="col-sm-4">
                            <select v-model="biandong.zhuanjiaid" name="zhuanjiaid" class="form-control" disabled>
                                <option v-for="zhuanjiaitem in zhuanjialist" :value="zhuanjiaitem.zhuanjiaid" v-text="zhuanjiaitem.xingming+'('+zhuanjiaitem.zhuangtai_text+')'"></option>
                            </select>
                        </div>
                        <div class="col-sm-3">
                            <input class="form-control" type="text" v-model="zhuanjianame" placeholder="请输入专家姓名" disabled>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary" @click="bindZhuanjiaList" disabled>搜索</button>
                        </div>
                    </div>

                    <!--6、去世-->
                    <div v-if="biandong.biandongleixing=='6'">
                        <div class="form-group">
                            <label class="col-sm-3 control-label is-required">去世时间</label>
                            <div class="col-sm-8">
                                <div class="input-group date">
                                    <input name="biandongshijian" class="form-control" placeholder="yyyy-MM-dd" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" v-model="biandong.biandongshijian" id="qushi_biandongshijian" @blur="getDate_biandongshijian">
                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="form-group" v-if="isqushishow">
                        <label class="col-sm-8 control-label" style="color: #ff0000">以上信息是否属实，如属实请确认提交，如不属实请重新选择核查结果。</label>
                    </div>

                    <!--上传附件-->
                    <div class="form-group" v-if="biandong.biandongleixing!='99'">
                        <label class="col-sm-3 control-label">请上传相关佐证材料</label>
                        <div class="col-sm-6">
                            <input type="text" class="form-control" id="fujianurl" :placeholder="biandong.url">
                            <div id="filelist" v-text="biandong.wenjianming"></div>
                            <div id="UploadedFiles"></div>
                        </div>
                        <div class="col-sm-2">
                            <div id="container">
                                <input class="form-control btn-primary btn btn-md" type="button" id="pickfiles" value="上传" />
                            </div>
                        </div>
                    </div>
                    <div class="form-group" v-if="biandong.biandongleixing!='99'">
                        <label class="col-sm-3 control-label"></label>
                        <div class="col-sm-8">
                            <label style="color: #ff0000">如材料较多，可只上传关键材料或关键信息，其他材料线下报送。</label>
                        </div>
                    </div>

                </form>

            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" @click="add" v-if="editflag==1">保存</button>
                <button type="button" class="btn btn-primary" @click="modify" v-if="editflag==2">保存</button>
            </div>
        </div>
    </div>
</div>
</div>